package com.wn;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author yellow Docter
 * @date 2023 -07-18
 * @desc
 */
@EnableCaching   //开启缓存
@EnableFeignClients    //开启 feign 注解
@EnableKnife4j
@SpringBootApplication
public class ConsumerServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerServiceApplication.class,args);
    }

}
